package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.vo.Approval.analysis.DeptApprovalVO;
import com.ruoyi.system.domain.vo.Approval.analysis.MonthApprovalVO;
import com.ruoyi.system.domain.vo.Approval.analysis.TypeApprovalVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Mapper
public interface ApprovalAnalysisOverviewMapper {

    public int getApprovalCount(@Param("status") String status);

    public List<MonthApprovalVO> getMonthApprovalCountByYear(@Param("year") String year);

    public List<DeptApprovalVO> getDeptApprovalCount();

    public List<TypeApprovalVO> getTypeApprovalCount();
}
